<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
    <title>配送区域</title>
    <hdjs />
    <js file= '__PUBLIC__/js/mod.base.js,__PUBLIC__/js/mod.area.js' />
    <css file= '__PUBLIC__/css/mod.base.css' />
</head>
<body>
    <div class="hd-menu-list">
        <ul>
            <li>
                <a href="{:U('Shipping/index')}">配送方式列表</a>
            </li>
            <li class="active">
                <a href="javascript:;">配送区域列表</a>
            </li>
            <li>
                <a href="{:U('ShippingArea/add',array('shipping_id'=>$_GET['shipping_id']))}">添加配送区域</a>
            </li>
           
        </ul>
    </div>
    <div class="hd-title-header">温馨提示</div>
    <div class="help">
        <ul>
            <li>{$shippingName} 配送方式！</li>
        </ul>
    </div>
    <div class="content">
        <table class="hd-table hd-table-list hd-form">
            <thead>
                <tr>
                    <td class="hd-w30">area_id</td>
                    <td>配送区域名称</td>
                    <td>初始价格</td>
                    <td>1kg后,每1kg价格</td>
                    <td class="hd-w150">操作</td>
                </tr>
            </thead>
            <tbody>
            	<if condition='$data'>
                <foreach name='data' item='v'>
                <tr>
                    <td>{$v.area_id}</td>
                    <td>{$v.name}</td>
                    <td>￥{$v.fee}</td>
                    <td>￥{$v.ext}</td>
                    <td>
                        <a href="{:U('ShippingArea/edit',array('area_id'=>$v['area_id'],'shipping_id'=>$v['shipping_shipping_id']))}">修改</a>
                        |
                        <a href="javascript:;" onclick="del_modal('{:U('ShippingArea/del',array('areaId'=>$v['area_id'],'shipping_id'=>$v['shipping_shipping_id']))}')">删除</a>
                    </td>
                </tr>
                </foreach>
                <else />
                <tr>
                	<td colspan="5">没有找到符合条件的记录</td>
                </tr>
            </if>
            </tbody>
        </table>
    </div>
    

</body>
</html>